AIOSEO\Plugin\Common\Utils\Access S

Total Complexity 45
Dependencies 0
Dependents 2
Total lines 330
Lines of code 134
Logical lines of code 72
Comment lines 124
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
removeCapabilities()
A
51 9 27
isAdmin()
S
62 8 12
addCapabilities()
S
52 6 25
can()
S
58 5 16
hasCapability()
S
60 5 15
setRoles()
S
62 4 11
getAllCapabilities()
S
64 2 10
__construct()
S
78 1 3
getCapabilityList()
S
82 1 3
canManage()
S
80 1 3
getNotAllowedOptions()
S
82 1 3
getNotAllowedPageFields()
S
82 1 3
getRoles()
S
82 1 3